{% extends 'JobeetBundle::layout.html.twig' %}

{% block stylesheets %}
    {{ parent() }}
    <link rel="stylesheet" type="text/css" media="screen" href="{{asset('bundles/jobeet/css/jobs.css')}}"  />
{% endblock %}

{% block sf_content %}    
    <div id="jobs">
      <table class="jobs">
        {% for index, job in jobs %}
          <tr class="{{ (index % 2 == 0) ? 'even' : 'odd' }}">
            <td class="location">{{ job.getLocation }}</td>
            <td class="position">
              <a href="#{# url_for('job/show?id='.$job->getId()) #}">
                {{ job.getPosition }}
              </a>
            </td>
            <td class="company">{{ job.getCompany }}</td>
          </tr>
        {% endfor %}
      </table>
    </div>    
{% endblock %}
